<optgroup> element

The <optgroup> element allows you to group multiple <option> (or nested <optgroup>) elements within a card. Creating option groups lets you specify control information about how the device should present the card content.

Syntax

where content represents one or more of the following:
 
content You can specify any of the following elements: 
<optgroup> 
<option> 
(a nested <optgroup> element)
(see <option> element

Devices display these elements in the order in which you specify them.

Attributes

 
title Specifies a brief label for the <optgroup> group. Some devices use the label as a title when displaying the <optgroup> content. Others might use it as a label for a user interface mechanism that lets the user navigate to the <optgroup> content.